namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0157 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.IcmDispose", "CommitteeGroupId", c => c.Int());
            CreateIndex("dbo.IcmDispose", "CommitteeGroupId");
            AddForeignKey("dbo.IcmDispose", "CommitteeGroupId", "dbo.IcmCommitteeGroup", "CommitteeGroupId");
        }
        
        public override void Down()
        {
            DropForeignKey("dbo.IcmDispose", "CommitteeGroupId", "dbo.IcmCommitteeGroup");
            DropIndex("dbo.IcmDispose", new[] { "CommitteeGroupId" });
            DropColumn("dbo.IcmDispose", "CommitteeGroupId");
        }
    }
}
